package mine.core;

/**
 * The Class Cell.
 */
public class Cell {
	
	/** If the cell is vacant, . */
	private boolean vacant;
	
	/** The bomb. */
	private boolean bomb;
	
	/** If this cell's situation is know. */
	private boolean known;
	
	/** The bomb numbers. */
	private int bombCount;
	
	/**
	 * Checks if is vide.
	 *
	 * @return true, if is vide
	 */
	public boolean isVacant() {
		return vacant;
	}
	
	/**
	 * Sets the vide.
	 *
	 * @param vacant the new vacant
	 */
	public void setVacant(boolean vacant) {
		this.vacant = vacant;
	}
	
	/**
	 * Checks if is bomb.
	 *
	 * @return true, if is bomb
	 */
	public boolean isBomb() {
		return bomb;
	}
	
	/**
	 * Sets the bomb.
	 *
	 * @param bomb the new bomb
	 */
	public void setBomb(boolean bomb) {
		this.bomb = bomb;
	}
	
	/**
	 * Gets the bomb num.
	 *
	 * @return the bomb num
	 */
	public int getBombNum() {
		return bombCount;
	}
	
	/**
	 * Sets the bomb num.
	 *
	 * @param bombNum the new bomb num
	 */
	public void setBombNum(int bombNum) {
		this.bombCount = bombNum;
	}

	/**
	 * Checks if is known.
	 *
	 * @return true, if is known
	 */
	public boolean isKnown() {
		return known;
	}

	/**
	 * Sets the known.
	 *
	 * @param known the new known
	 */
	public void setKnown(boolean known) {
		this.known = known;
	}
	
}
